package com.gpframework.module.process.service.impl;

import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gpframework.module.process.mapper.GpProcessFlowerPatternMapper;
import com.gpframework.module.process.domain.GpProcessFlowerPattern;
import com.gpframework.module.process.domain.vo.GpProcessFlowerPatternVo;
import com.gpframework.module.process.service.IGpProcessFlowerPatternService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import java.util.List;
/**
 * @ClassName GpProcessFlowerPattern
 * @Author gpframework
 * @Date 2024-04-26
 * @Version 1.0.0
 * @Description 做货花型描述Service业务层处理
 */
@Service
public class GpProcessFlowerPatternServiceImpl extends ServiceImpl<GpProcessFlowerPatternMapper, GpProcessFlowerPattern> implements IGpProcessFlowerPatternService {

    /**
     * @Description 查询列表返回VO 用于返回给前端的列表接口
     * @Author gpframework
     * @Date 2024-04-26
     * @Param [lqw]
     * @Return List<GpProcessFlowerPatternVo>
     */
    @Override
    public List<GpProcessFlowerPatternVo> listVo(QueryWrapper<GpProcessFlowerPattern> lqw) {
        return this.baseMapper.listVo(lqw);
    }

    /**
     * @Description 通过查询详情VO 用于返回给前端的列详情接口
     * @Author gpframework
     * @Date 2024-04-26
     * @Param [id]
     * @Return GpProcessFlowerPatternVo
     */
    @Override
    public GpProcessFlowerPatternVo getVoById(Long id) {
        return this.baseMapper.getVo(id);
    }
}
